Skip to content

EDM-6483: Collective CVE remediation (November 2026) - #892

Merged
amir-yogev-gh merged 1 commit into
flightctl:release-1.3from
amir-yogev-gh:cve-fix/EDM-6483-release-1.3
Nov 19, 2026
Merged

amir-yogev-gh merged 1 commit into
flightctl:release-1.3from
amir-yogev-gh:cve-fix/EDM-6483-release-1.3

Conversation

@amir-yogev-gh

Copy link
Copy Markdown
Collaborator

Collective CVE Remediation (November 2026)

Summary

Bundles compatible dependency security updates for release-1.3, including i18next-parser 6.5 → 9.4.0 (with a new escape-preserving JSX lexer), i18next-http-backend 2 → 4.0.10, React Router 6.30.3 → 6.30.6, Vitest 3 → 5.1.0, scoped npm overrides (minimatch, @remix-run/router, fast-uri, chokidar), and Go module updates in proxy/ (kin-openapi 0.145 → 0.148, jsonschema v6, golang.org/x/{crypto,net,sys,text}). Reduces npm audit findings from 52 to 27.

Vulnerabilities Addressed

CVE ID Severity Package Old Version New Version
CVE-2026-118764 Moderate (CVSS 5.9) minimatch (transitive) 10.2.5 11.0.9 (override)

Resolved npm advisories: @humanfs/node, @remix-run/router, @vitest/mocker, ajv, body-parser, chokidar, colord, compression, fast-uri, glob, handlebars, i18next-http-backend, launch-editor, minimatch, nodemon, postcss-selector-parser, proxy-addr, qs, readdirp, rimraf, serialize-javascript, shell-quote, source-map-js, svgo, systeminformation, tinypool, vue-template-compiler, webpack-dev-middleware.

Related Jira tickets: EDM-6495, EDM-6496, EDM-6497, EDM-6498.

Strategy Justification — CVE-2026-118764 (minimatch)

# Strategy Result Details
1 Direct update N/A minimatch is a transitive dependency
2 Transitive update Skipped Introducer updates alone do not guarantee minimatch >= 11.0.1
3 Override/pin Success Top-level npm override minimatch: 11.0.9; lockfile resolves to 11.0.9

Downstream Verification

Item Status Evidence
Build scope verified 4 Containerfile UI build stages; npm ci + npm run build/build:ocp; final images ship only apps/standalone/dist
Fixed release verified minimatch 11.0.9 published on npm; GHSA-g3hv-75wg-m249 confirms >= 11.0.1 fixed
Runtime verified engines node: 20 or >=22; Red Hat ubi9/ubi10 nodejs-22-minimal builder images satisfy requirements

Validation

  • Candidate: commit 0caa8443 on branch cve-fix/EDM-6483-release-1.3
  • Dependencies: minimatch resolves to 11.0.9; no copy in vulnerable range
  • CVE resolution: npm audit no longer reports minimatch
  • Tests: PASS — typecheck + 1 test file, 4 tests

Rollback

git revert <commit-sha>

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 1

  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
Pre-merge checks: Passed 7 · Inconclusive 3

Failed Failed checks: 3 inconclusive

Check name Status Explanation Resolution
Resource-Leaks Inconclusive The resource-leaks check covers Go files under proxy/. The PR patch against its base could not be established, so changed Go code cannot be checked. Evidence: - The checked-out HEAD (aba867f) is a roo… Obtain the PR base and diff. Fetch origin/release-1.3 and commit 0caa8443 (or the PR head), then run: git diff origin/release-1.3... -- proxy/. Re-run this check on any changed .go file. Confirm that each opened file, HTTP response bo…
Generated-Files-Not-Hand-Edited Inconclusive Summary: I could not determine whether this PR hand-edited any generated file. The checked-out commit aba867f (title "EDM-6483: Collective CVE remediation (November 2026)") is a single root comm… To resolve this check, supply the PR's complete patch against release-1.3 (or fetch the release-1.3 base and the head 0caa8443, then run `git diff release-1.3...0caa8443 -- libs/types/models libs/types/alpha/models libs/types/imagebui…
I18n-Compliance Inconclusive Summary: I could not establish which .tsx lines this PR changed, so I cannot decide the i18n-compliance check. Evidence gathered: - The local checkout is at aba867f ("EDM-6483: Collective … Provide the complete PR patch against the real release-1.3 base, or a checkout with that merge base. Then list the .tsx files and changed hunks in the PR. For each added or changed hunk, check two things. First, that each user-visible s…
Passed Passed checks: 7 passed

Check name Status Explanation
No-Hardcoded-Secrets Passed Summary: No hardcoded secrets found. The check passes for PR #892 (flightctl/flightctl-ui, author amir-yogev-gh, head cve-fix/EDM-6483-release-1.3, base release-1.3). Evidence limit: The l…
No-Weak-Crypto Passed no-weak-crypto: PASS. PR #892 (flightctl/flightctl-ui, author amir-yogev-gh, base release-1.3) is a dependency and build-tooling update. The described changes are npm and Go module bumps, npm over…
No-Injection-Vectors Passed Summary: No flagged injection pattern exists in the PR head tree. The check passes. Evidence limits: The local checkout is a single root commit (aba867f, EDM-6483). Its parent is not availab…
Container-Privileges Passed Summary: No container or Kubernetes privilege setting is introduced by this PR, based on the stated scope and the repository evidence available. Scope evidence - The PR description lists depen…
No-Sensitive-Data-In-Logs Passed The check flags logging that may expose passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. I fetched the parent commit 918971d and diffed it against PR head aba867f (…
Unchecked-Errors Passed The unchecked-errors check applies to Go code under proxy/. PR #892 (author amir-yogev-gh, head cve-fix/EDM-6483-release-1.3, base release-1.3) describes its proxy/ changes as Go module updates only: …
Ai-Attribution Passed Summary: The ai-attribution check applies only when AI tools were used and are mentioned in the PR or its commits. I found no such mention, so the check is inapplicable and passes. Evidence: -…
Full details: No-Hardcoded-Secrets

Explanation

Summary: No hardcoded secrets found. The check passes for PR #892 (flightctl/flightctl-ui, author amir-yogev-gh, head cve-fix/EDM-6483-release-1.3, base release-1.3). Evidence limit: The local checkout has one commit (aba867f) that adds the whole tree. It has no parent, so the PR diff cannot be isolated from history. I scanned the full tree. This covers every file the PR touches, including package.json (root overrides, minimatch: 11.0.9), the lockfile-related changes, packaging/images/*/Containerfile*, and proxy/ Go modules. What I checked: - PEM private keys: No BEGIN ... PRIVATE KEY blocks in tracked files. - Known token formats: No AWS (AKIA...), GitHub (ghp_, github_pat_), Slack (xox*), OpenAI-style (sk-), or GitLab (glpat-) tokens. - URLs with embedded credentials: None found, excluding lockfiles and go.sum. - Secret-named string literals: No api_key, secret, token, password, or client_secret variable assigned a string literal of 8+ characters, in code or config. - Unquoted YAML/env assignments: Matches were identifiers or type fields, such as token: httpConfig.token and enablePassword: boolean. None were literal values. - Long base64-like strings (>32 chars): None in YAML, JSON, shell, Containerfile, or packaging config. The only long strings are pinned action SHAs in .github/workflows, which are commit identifiers, not secrets. - Build and container files: Containerfile* ENV/ARG lines set only NODE_OPTIONS, PLUGIN_VERSION, and similar build settings. No credentials. - Test fixtures: proxy/auth/oidc_test.go uses clientId: "client-id", a placeholder. No credential values in proxy/bridge/testauth.go or the Cypress fixtures. - OCP manifests: apps/ocp-plugin/ocp-console-oauth-client.yaml and ocp-console-sa-secrets.yaml contain no literal secret values. Severity: No security findings. The PR adds no secret values. Residual risk: The scan uses regex patterns. It cannot find a secret in an unusual format. This risk is low for this PR, which changes dependency versions and build configuration.

Full details: No-Weak-Crypto

Explanation

no-weak-crypto: PASS. PR #892 (flightctl/flightctl-ui, author amir-yogev-gh, base release-1.3) is a dependency and build-tooling update. The described changes are npm and Go module bumps, npm overrides, and a small i18n lexer subclass. Evidence gathered: - Base revision unavailable. The local checkout has one root commit (aba867f) with no parent, so a diff against release-1.3 could not be built. I did not treat the whole tree as PR-introduced. Instead I scanned the full tree, which covers any PR change. - Weak primitives. A repo-wide search (excluding lockfiles and binary assets) found no MD5, SHA-1, DES, 3DES, RC4, Blowfish, or ECB usage. It also found no createHash/createCipher calls and no weak Go crypto/md5, crypto/sha1, crypto/des, crypto/rc4, or ECB constructions. - Custom crypto. libs/i18n/escape-preserving-jsx-lexer.mjs is a 7-line JsxLexer subclass. It replaces &amp; with &amp;amp; in node strings and has no cryptographic content. The only crypto-related code in proxy/ is standard library use. proxy/auth/common.go uses crypto/rand for PKCE values and SHA-256 for the code challenge (line 189), which is the correct algorithm. - Secret comparisons. The token and password comparisons found (proxy/middleware/auth.go:19, proxy/auth/auth.go:534,575, libs/ui-components/.../vmApplications.ts:230, CreateRepository/utils.ts:354) are emptiness checks or equality checks on configuration values. None compares a MAC, signature, or bearer secret in code this PR changes. The PR does not touch these lines. - Go dependency bumps. golang.org/x/crypto v0.57.0, kin-openapi v0.148.0, and jsonschema/v6 are version updates. They introduce no weak algorithm usage in the repository source. The check flags only the listed primitives, custom implementations, and non-constant-time secret comparisons. None appears in the PR's changes or elsewhere in the tree.

Full details: No-Injection-Vectors

Explanation

Summary: No flagged injection pattern exists in the PR head tree. The check passes. Evidence limits: The local checkout is a single root commit (aba867f, EDM-6483). Its parent is not available. The PR base release-1.3 is not present, so the exact PR patch cannot be isolated. The pass therefore rests on a scan of the full head tree. Any sink the PR added would appear in that tree, so the scan bounds the PR's contribution. Scan results (head tree, excluding node_modules, lockfiles, and dist): - eval( and new Function(: none. The only match is devtool: 'eval-source-map' in webpack configs, which is a build option, not code execution. - dangerouslySetInnerHTML, innerHTML =, document.write, template.HTML(, unsafeHTML: none. - os.system, exec.Command, child_process, shell eval, and sh -c: none in the Go proxy (28 .go files) or in the shell scripts. - Python files: none. The yaml.load check does not apply. - re.exec(...) and regex.exec(...) hits are RegExp.exec, not command execution. - yaml.load( calls in libs/ui-components (validations.ts, vmApplications.ts, deviceSpecUtils.ts) use the js-yaml package. In js-yaml 4 load uses the safe default schema, and the PR's js-yaml override is 4.3.2. The Python SafeLoader rule does not map to these calls. - bash -c in deviceLogCommandBuilder.ts builds device-side hook strings. It wraps each argument with quoteShellArg (single-quote escaping). These strings are sent to devices, not run by the UI process. PR-specific changes: The new libs/i18n/escape-preserving-jsx-lexer.mjs subclasses JsxLexer and only replaces &amp; with &amp;amp; in node strings. It has no sink. The package.json overrides and the proxy/go.mod and go.sum updates are dependency version changes. The head proxy/ code has no sink. Severity: None. No injection vector was found in the head tree.

Full details: Container-Privileges

Explanation

Summary: No container or Kubernetes privilege setting is introduced by this PR, based on the stated scope and the repository evidence available. Scope evidence - The PR description lists dependency changes only: npm packages (i18next-parser, i18next-http-backend, React Router, Vitest, scoped npm overrides), Go modules under proxy/, and the minimatch override. It does not list any change to a Containerfile, Kubernetes manifest, or Helm chart. - The Downstream Verification table treats the four Containerfile UI build stages as existing build scope to verify. It does not describe them as edited. Repository evidence - The checkout has no usable base. HEAD (aba867f) is a single snapshot commit with no parent, so the exact file list changed against release-1.3 could not be confirmed from git. - A repository-wide search for privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation: true, and runAsUser: 0 returned no matches in manifests or build files. - packaging/images/{el9,el10}/Containerfile and Containerfile.ocp contain USER root in the ui-build stage and USER 0 in the proxy-build stage. The final ubi-micro stage has no USER directive, so the runtime image defaults to root. Attribution - The root user settings are in the current tree. The PR description does not claim to change them, and the snapshot cannot show whether they predate the PR. Under the decision contract, the whole current tree is not treated as introduced by the PR, so this does not trigger a FAIL. - If the base-branch diff later shows that these Containerfile lines changed in this PR, re-check the final stage for a non-root USER and a written justification for root use. Tone note: Security is the main concern here. The runtime root default is a real hardening gap, but it is pre-existing and outside the PR's described change set.

Full details: No-Sensitive-Data-In-Logs

Explanation

The check flags logging that may expose passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. I fetched the parent commit 918971d and diffed it against PR head aba867f (PR #892, head branch cve-fix/EDM-6483-release-1.3). The diff touches 11 files: package manifests and lockfiles, proxy/go.mod and go.sum, and the i18n parser config. The only new source files are libs/i18n/escape-preserving-jsx-lexer.mjs (a lexer subclass that escapes &amp;) and libs/i18n/i18next-parser.config.mjs (lexer wiring). The old i18next-parser.config.js was deleted. A grep of all added lines (excluding lockfiles) for console, log, logger, klog, fmt.Print, slog, zap, token, password, secret, apikey, email, session, and hostname returned no matches. No added statement emits runtime output of any kind, so no sensitive data reaches logs. The changes are dependency bumps and build-time configuration. Scope limit: the PR author is amir-yogev-gh, and this check does not depend on author identity.

Full details: Unchecked-Errors

Explanation

The unchecked-errors check applies to Go code under proxy/. PR #892 (author amir-yogev-gh, head cve-fix/EDM-6483-release-1.3, base release-1.3) describes its proxy/ changes as Go module updates only: kin-openapi, jsonschema/v6, and golang.org/x/{crypto,net,sys,text}. Evidence gathered: - The checked-out HEAD (aba867f) is an orphan commit with no parent. The release-1.3 base is not in the clone, so a true PR diff cannot be produced. - As an approximation, I diffed proxy/ against origin/main (bc65fb2). Eleven files differ: go.mod, go.sum, and nine .go files under proxy/auth/. - The .go differences are an import path change (core/v1beta1 to v1beta1), removal of prompt handling in loginRedirect and OIDC/OAuth2/AAP/OpenShift handlers, and removal of the matching tests. None adds or removes an error return, an error check, or a blank-identifier error discard. - Added lines in the .go diff contain no err handling, no _ = or , _ := patterns, and no new logging of errors. The only removed log line is a Debugf about the OIDC prompt value, which is not error handling. - Pre-existing code in the touched files, such as the ignored defer res.Body.Close() return in proxy/auth/aap.go, is unchanged by this PR. Pre-existing behavior does not establish PR causality. Limitation: the diff against main is not the diff against release-1.3. A PR-introduced error-handling change would have to match main's code exactly, which is unlikely given the description and the diff. Confidence is high, but not absolute.

Full details: Ai-Attribution

Explanation

Summary: The ai-attribution check applies only when AI tools were used and are mentioned in the PR or its commits. I found no such mention, so the check is inapplicable and passes. Evidence: - PR description: The contributor's text (CVE table, strategy justification, downstream verification, validation, rollback) does not mention Assisted-by, Generated-by, Made-with, Co-Authored-By, or any AI tool name. - Head commit (aba867fb, author Amir Yogev): The commit message is the subject line only, EDM-6483: Collective CVE remediation (November 2026). It has no trailers. - Commit history: A scan of the last 200 commits for assisted-by, generated-by, made-with, co-authored-by, and common AI tool names returned no matches. - Candidate commit 0caa8443: The PR description cites this commit. It was not present in the local clone, so its message could not be read. This is a limitation. The check trigger still has no evidence of AI use, so the verdict stands. Tone note: Thorough and direct. This check raises no security, design, or correctness concern. The PR's CVE work is outside this check's scope.

Full details: Resource-Leaks

Explanation

The resource-leaks check covers Go files under proxy/. The PR patch against its base could not be established, so changed Go code cannot be checked. Evidence: - The checked-out HEAD (aba867f) is a root commit with no parent. No merge-base exists with origin/main. The PR base release-1.3 is not available locally. A diff against this HEAD returns no Go changes, but that result is not usable. - Diffing HEAD against origin/main (bc65fb2) shows changes in proxy/auth/*.go, proxy/go.mod, and proxy/go.sum. The auth changes include an import path change (api/core/v1beta1 to api/v1beta1) and a removed test block. These look like release-1.3 versus main divergence, not PR changes. They are not attributed to this PR. - The PR description states the proxy/ changes are Go module updates only: kin-openapi, jsonschema v6, and golang.org/x/{crypto,net,sys,text}. Inspected go.mod and go.sum diffs contain only dependency version and checksum changes. No Go source change in the PR is shown. - Existing defer Body.Close() and goroutine sites were found in proxy/. None was attributed to this PR, so none was flagged. Dependency bumps alone do not add file, response body, connection, or goroutine handling. Still, the check requires direct evidence from the PR's Go source diff. Missing evidence cannot establish PASS.

Resolution

Obtain the PR base and diff. Fetch origin/release-1.3 and commit 0caa8443 (or the PR head), then run: git diff origin/release-1.3...<head> -- proxy/. Re-run this check on any changed .go file. Confirm that each opened file, HTTP response body, or network connection is closed with defer, and that each new goroutine has a shutdown mechanism (context cancellation, done channel, or WaitGroup). If the diff confirms that proxy/ changes are limited to go.mod and go.sum, the check can be re-assessed as PASS.

Full details: Generated-Files-Not-Hand-Edited

Explanation

Summary: I could not determine whether this PR hand-edited any generated file. The checked-out commit aba867f (title "EDM-6483: Collective CVE remediation (November 2026)") is a single root commit. It has no parent and no merge base with origin/main. The release-1.3 base and the PR head 0caa8443 are not present. A diff against the real base is therefore unavailable. Evidence gathered: - The commit adds the whole repository tree. It lists every generated path as added. That listing does not show which lines the PR changed. - libs/types/models/**, libs/types/alpha/models/**, and libs/types/imagebuilder/models/** exist. Sampled files (Device.ts, Catalog.ts, ImageBuild.ts) begin with generated using openapi-typescript-codegen -- do no edit. These headers confirm the generated status. They do not show whether the PR edited the files. - libs/i18n/locales/en/translation.json parses as valid JSON with 2047 keys. Its 73 keys whose values differ from the key text are _one/_other plural entries. This is the shape that i18next-parser emits. The result is consistent with generator output, but it is not proof. - The i18n package script runs i18next ... &amp;&amp; git diff --exit-code locales/en/translation.json. The repo workflow therefore expects regeneration. I did not run the generator. The instructions prohibit running repository code and build tools. - The PR description says i18next-parser moved 6.5 to 9.4.0 with a new escape-preserving JSX lexer. That change would regenerate translation.json. The description does not state any manual edit to a generated file. This is contributor prose, not diff evidence. Why INCONCLUSIVE: The check flags direct edits to generated files. Deciding that requires the PR's changed lines in those paths. Those lines cannot be established here. The check does not define FAIL for an unavailable diff. Missing evidence cannot establish PASS. No changed-line evidence shows a hand edit, so FAIL is not supported. Tone note: This is a thorough and direct assessment. Security impact is not in scope for this check. A hand-edited generated file could drift from the OpenAPI spec or source strings. That drift would affect maintainability and could hide type or translation errors at runtime.

Resolution

To resolve this check, supply the PR's complete patch against release-1.3 (or fetch the release-1.3 base and the head 0caa8443, then run git diff release-1.3...0caa8443 -- libs/types/models libs/types/alpha/models libs/types/imagebuilder/models libs/i18n/locales/en/translation.json). Then confirm the following: 1. Any changed generated file comes from npm run gen-types (OpenAPI) or npm run i18n (i18next-parser). Re-running the generator should produce no diff. 2. translation.json changes match the parser output, with no manually added or reworded keys. If the diff shows hand edits, return FAIL and revert those hunks. Regenerate the files instead.

Full details: I18n-Compliance

Explanation

Summary: I could not establish which .tsx lines this PR changed, so I cannot decide the i18n-compliance check. Evidence gathered: - The local checkout is at aba867f ("EDM-6483: Collective CVE remediation (November 2026)"). That commit has no parent. It adds the whole repository (971 files) as one root commit. - origin/main shares no history with this commit, and no release-1.3 ref exists locally. The PR base is therefore unavailable, and the PR patch cannot be isolated. - The commit's file list includes all 365 .tsx files in the tree. This does not show which files the PR changed. Treating the whole tree as PR-introduced would not follow the causality rule. - The PR description describes dependency and tooling work: i18next-parser 9.4.0, a new escape-preserving-jsx-lexer.mjs wired into libs/i18n/i18next-parser.config.mjs, React Router, Vitest, npm overrides, and Go modules. It does not mention source .tsx edits. This is contributor prose, not diff evidence. - The libs/i18n changes are tooling. The .tsx files are not shown to be among the changed files. Why not PASS: The PR diff is needed to show that no .tsx user-visible string was added or changed without t(), or that no t() call with a variable key was added. The tree cannot provide that proof. Why not FAIL: No changed .tsx line was found that violates either rule. The check's failure conditions also require changed-code causality, and that causality is not established. Scope note: A repository-wide scan of .tsx files would find pre-existing issues. Those issues are outside this PR's causality and are not counted here.

Resolution

Provide the complete PR patch against the real release-1.3 base, or a checkout with that merge base. Then list the .tsx files and changed hunks in the PR. For each added or changed hunk, check two things. First, that each user-visible string is wrapped in t(). Second, that each t() call uses a literal string key, not a variable. Re-run this check on that evidence. If the PR changes no .tsx files, the check passes as not applicable.

@amir-yogev-gh amir-yogev-gh changed the title [release-1.3] EDM-6483: Collective CVE remediation (November 2026) EDM-6483: Collective CVE remediation (November 2026) Nov 19, 2026
@amir-yogev-gh
amir-yogev-gh marked this pull request as ready for review November 19, 2026 11:53
@amir-yogev-gh
amir-yogev-gh merged commit 33ce0dd into flightctl:release-1.3 Nov 19, 2026
11 checks passed
@amir-yogev-gh
amir-yogev-gh deleted the cve-fix/EDM-6483-release-1.3 branch November 19, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants